<?php

/**
 * sfGuardUser module helper.
 *
 * @package    sfGuardPlugin
 * @subpackage sfGuardUser
 * @author     Fabien Potencier
 * @version    SVN: $Id: sfGuardUserGeneratorHelper.class.php 12896 2008-11-10 19:02:34Z fabien $
 */
class sfGuardUserGeneratorHelper extends BaseSfGuardUserGeneratorHelper
{
	
	/**
	 * Enter description here...
	 *
	 * @param sfGuardUser $g_user
	 * @param unknown_type $params
	 * @return unknown
	 */
	public function linkToDelete($g_user, $params)
	{
		if( !$g_user->getLastLogin()  ){
			return parent::linkToDelete($g_user, $params);
		}else{
			return "";
		}
	}

}
